package com.denlaku.longan;

/**
 * @author tianx
 */
public interface SqlConst {
    /**
     * 圆括号(左)
     */
    String BRACKET_LEFT = "(";

    /**
     * 圆括号(左)
     */
    String _BRACKET_LEFT = " (";

    /**
     * 圆括号(右)
     */
    String BRACKET_RIGHT = ")";

    /**
     * 圆括号(右)
     */
    String BRACKET_RIGHT_ = ") ";

    /**
     * value
     */
    String VALUE = "value";

    /**
     * space
     */
    String SPACE = " ";

    String SELECT_ = "select ";

    String FROM_ = "from ";

    String _WHERE_ = " where ";

    String OR = "or";

    String _OR_ = " or ";

    String _AND_ = " and ";

    String AND_ = "and ";

    String _AS_ = " as ";

    String GROUP_BY_ = "group by ";

    String GROUP_BY_NULL_ = "group by null ";

    String HAVING_ = "having ";

    String ORDER_BY_ = "order by ";

    String _IS_NULL_ = " is null ";

    String _IS_NOT_NULL_ = " is not null ";

    String _NULLS_FIRST_ = " nulls first ";

    String LIMIT_PATTERN = "limit %d, %d";

    String CASE_ = "case ";

    String _WHEN_ = " when ";

    String _THEN_ = " then ";

    String ASC = "asc";

    String DESC = "desc";

    String SINGLE_QUOTE = "'";

    String  COMMA = ",";

    String  COMMA_ = ", ";

    String NEXT_LINE = "\n";

    String NOT_EQUAL = "!=";

    String NOT_EQUAL_2 = "<>";

    String PLACEHOLDER = "?";
}
